package com.hp.appfw.data.mapper.mygen;

import com.hp.appfw.data.mode.mygen.BaseAttachment;
import com.hp.appfw.data.mode.mygen.BaseAttachmentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BaseAttachmentMapper {
    int countByExample(BaseAttachmentExample example);

    int deleteByExample(BaseAttachmentExample example);

    int deleteByPrimaryKey(String id);

    int insert(BaseAttachment record);

    int insertSelective(BaseAttachment record);

    List<BaseAttachment> selectByExample(BaseAttachmentExample example);

    BaseAttachment selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") BaseAttachment record, @Param("example") BaseAttachmentExample example);

    int updateByExample(@Param("record") BaseAttachment record, @Param("example") BaseAttachmentExample example);

    int updateByPrimaryKeySelective(BaseAttachment record);

    int updateByPrimaryKey(BaseAttachment record);
}